<template>

	<view>
		<view v-if="isLoading" style="width: 100%;height: calc(100vh);position: absolute;z-index: 10000;">
			<image src="../../../static/icon/loading.png" style="width: 110rpx;height: 110rpx;" class="loading" mode=""></image>
		</view>
		<view @click="close1()" v-if="isShow" style="width: 100%;height: calc(100vh);position: absolute;z-index: 998;"></view>
		<view class="TC" style="position: relative; z-index: 999;" v-if="isShow">
			<view class="box">
		
				<view class="box1">
					<view class="box1-a">
						<view style="font-size: 40rpx;
		color: #a485ed;">
							提示
						</view>	
						<view style="font-size: 40rpx;
		color: #a485ed;">
							{{msg}}
							<!-- 图片代替 -->
							<!-- <image 
								src="../../../static/icon/视频.jpg" alt=""> -->
							<!-- 视频 -->
						
						</view>
		
						<view class="btnA">
							<button type="button" style="color: #FFFFFF; " @click="close1()">确认</button>
						</view>
					</view>
		
				</view>
			</view>
		</view>
		<view class="mack-a" :style=" 'filter: blur('+this.$store.state.mackNum1+'px);'">
		<NavBar></NavBar>
		<view class="title">
			<view class="til">
				<image src="../../../static/icon/regi_icon/01regi.png" mode=""></image>
				<text>注册</text>
			</view>
		</view>

		<view class="box">

			<view class="box1">
				<view class="box1-a">
					<view class="wrapper" style="width: 80%	;margin: 0px auto;">
						<u-sticky :enable="enable" bgColor="#fff">
							<view>
								<u-tabs ref="tabs" height="64" gutter="30" bar-width="150" bar-height="5"
									:is-scroll="false" :active-item-style="barStyle" :bold="false" :list="list"
									active-color="#9471fe" inactive-color="#D3D5E0" @change="sectionChange"
									font-size="38" :current="current">
								</u-tabs>
							</view>
							<!-- <u-tabs ref="tabs" :list="list" bar-width="40rpx" active-color="#9471fe"
								inactive-color="#D3D5E0" bar-height="6rpx" @change="sectionChange" font-size="30rpx"
								is-scroll="false" :current="current"></u-tabs> -->
							<!-- <u-tabs-swiper ref="tabs"  :current="current" @change="sectionChange" inactive-color="#D3D5E0" :list="list"  bar-height="6" bar-width="80" active-color="#9471fe" is-scroll="false"></u-tabs-swiper> -->
						</u-sticky>
					</view>

					<view v-if="current==0">
						<form style="margin-left: 64rpx;">
							<view class="username">
								<image src="../../../static/icon/zh.png" mode=""></image>
								<text>账&nbsp;号:</text>
								<input v-model="dataFrom.username" placeholder="6位字母或字母加数字" @input="fpNumInput" type="text" style="text-indent: 30rpx; width: 308rpx;
						height: 84rpx;
						margin-left: 22rpx;
						border-radius: 10rpx;
						box-shadow: inset 0px 2px 5px #9e9e9e80;" />
							</view>
							<view class="password">
								<image src="../../../static/icon/password1.png" mode=""></image>
								<text>密&nbsp;码:</text>
								<input v-model="dataFrom.password" :password="flag" @input="mmLength" placeholder="长度6-20" style="text-indent: 48rpx;   width: 308rpx;
						height: 84rpx;
						margin-left: 22rpx;
						border-radius: 10rpx;
						box-shadow: inset 0px 2px 5px #9e9e9e80;" />
						<view style="position: absolute;right: 6px;" @click="passShow">
							<uni-icons v-if="flag" type="eye-slash" size="24" color="#a485ed"></uni-icons>
							<uni-icons v-else type="eye" size="24" color="#a485ed"></uni-icons>
						</view>
							</view>
							<view class="password">
								<view style="margin-left: -76rpx;display: flex;align-items: center;">
									<image  style="width: 45rpx;height: 45rpx;"
										src="../../../static/icon/regi_icon/02password.png" mode=""></image>
									<text>确认密码:</text>
								</view>
								<input v-model="dataFrom.passwordConfirm" @input="queren0" :password="flag1" placeholder="确认密码" style="text-indent: 48rpx;  width: 308rpx;
							height: 84rpx;
							margin-left: 22rpx;
							border-radius: 10rpx;
							box-shadow: inset 0px 2px 5px #9e9e9e80;" />
							<view style="position: absolute;right: 6px;" @click="passShow1">
								<uni-icons v-if="flag1" type="eye-slash" size="24" color="#a485ed"></uni-icons>
								<uni-icons v-else type="eye" size="24" color="#a485ed"></uni-icons>
							</view>
							</view>
						</form>
						<view class="sms" style="position: absolute;
    bottom: 25%;
    right: 4%;">
							<!-- <navigator url="/pages/LoginRegistration/accountLogin/accountLogin">登录</navigator> -->
						</view>
						<view class="btnA" style="margin-top: 28%;">
							<button @click="register()" type="button" style="color: #FFFFFF; ">注&nbsp;册</button>
						</view>
					</view>



					<view v-else-if="current==1">
						<form>
							<view class="username">
								<view style="display: flex;align-items: center;margin-left: -24rpx;">
								<image src="../../../static/icon/regi_icon/iconfont-phone.png" mode=""></image>
								
									<text>手机号:</text>
									</view>
											<input v-model="dataFrom2.mobile" @input="iponeinput" placeholder="请输入手机号" type="number" style="text-indent: 48rpx; width: 316rpx;
									height: 84rpx;
									margin-left: 22rpx;
									border-radius: 10rpx;
									box-shadow: inset 0px 2px 5px #9e9e9e80;" />
								
							</view>
							<view class="password">
								<view style="margin-left: -24rpx;">
									<image src="../../../static/icon/yzm.png" mode=""></image>
									<text>验证码:</text>
								</view>
								<input v-model="dataFrom2.verify_code" placeholder="输入" type="number" style="text-indent: 48rpx;  width: 316rpx;
						height: 84rpx;
						margin-left: 22rpx;
						border-radius: 10rpx;
						box-shadow: inset 0px 2px 5px #9e9e9e80;" />
								<view>
									<button style=" padding-left: 4px;
    padding-right: 4px;
    color: rgb(250,248,255);
    background-color: rgb(164, 113, 251);
    position: absolute;
    width: 34%;
    height: 42px;
    right: 0%;
    bottom: 0px;
    text-align: center;
    line-height: 42px;
    font-size: 13px;" @click="yzm()" v-if="yzmnr=='发送验证码'">{{yzmnr}}</button>
		<button style=" padding-left: 4px;
		padding-right: 4px;
		color: rgb(250,248,255);
		background-color: rgb(164, 113, 251);
		position: absolute;
		width: 34%;
		height: 42px;
		right: 0%;
		bottom: 0px;
		text-align: center;
		line-height: 42px;
		font-size: 13px;" v-else>{{yzmnr}}</button>
								</view>
							</view>
							<view class="password">
									<image src="../../../static/icon/password1.png" mode=""></image>
									<text>密&nbsp;码:</text>
									<input v-model="dataFrom2.password" @input="mmLength1" :password="flag" placeholder="长度6-20" style="text-indent: 48rpx;   width: 308rpx;
							height: 84rpx;
							margin-left: 22rpx;
							border-radius: 10rpx;
							box-shadow: inset 0px 2px 5px #9e9e9e80;" />
							<view style="position: absolute;right: 6px;" >
								<uni-icons v-if="flag" type="eye-slash" size="24" color="#a485ed" @click="passShow"></uni-icons>
								<uni-icons v-else type="eye" size="24" color="#a485ed" @click="passShow"></uni-icons>
							</view>
								</view>
								<view class="password">
									<view style="margin-left: -76rpx;display: flex;align-items: center;">
										<image style="width: 45rpx;height: 45rpx;"
											src="../../../static/icon/regi_icon/02password.png" mode="" ></image>
										<text>确认密码:</text>
									</view>
									<input v-model="dataFrom2.passwordConfirm" @input="queren" :password="flag1" placeholder="确认密码" style="text-indent: 48rpx;  width: 308rpx;
								height: 84rpx;
								margin-left: 22rpx;
								border-radius: 10rpx;
								box-shadow: inset 0px 2px 5px #9e9e9e80;" />
								<view style="position: absolute;right: 6px;" @click="passShow1">
									<uni-icons v-if="flag1" type="eye-slash" size="24" color="#a485ed"></uni-icons>
									<uni-icons v-else type="eye" size="24" color="#a485ed"></uni-icons>
								</view>
								</view>
						</form>
						<view class="sms" style="position: absolute;
    bottom: 11%;
    right: 3%;">
							<!-- <navigator url="/pages/LoginRegistration/smsLogin/smsLogin">登录</navigator> -->
							 <!-- <navigator url="/pages/LoginRegistration/accountLogin/accountLogin">登录</navigator> -->
						</view>
						<view class="btnA" style="margin-top: 16%;">
							<button type="button" style="color: #FFFFFF; " @click="register1()">注&nbsp;册</button>
						</view>
					</view>
					<!-- 	<view class="btnB">
						<button type="button" @click="goNavto">注册</button>
					</view> -->
				</view>
				<view class="box2-a">
				</view>
			</view>
		</view>
		</view>
	</view>
</template>

<script>
	import md5 from '@/until/md5/md5.js'
	import uniRequest from '@/until/uni-request.js'
	import NavBar from '@/components/registerNav.vue'
	import {
		mapMutations,mapState
	} from 'vuex'
	export default {
		computed: {//加载数据过程loading
			    ...mapState(["isLoading"])
			},
		components: {
			NavBar
		},
		onShow() {
				this.enable= true  
				// this.$router.llj=1
				// console.log(this.$router);
			},
		onHide() {
		    //页面销毁时，取消监听  
		    this.enable= false  
		} ,
		data() {
			return {
				flag:true,
				flag1:true,
				// 是否开启吸顶功能
				enable: true ,
				isShow:false,
				msg:'',
				barStyle: {},
				current: 0,
				list: [{
						name: '账号注册'
					},
					{
						name: '手机注册'
					},


				],
			
				dataFrom: {
					username: '',
					password: '',
					passwordConfirm: ''
				},
				dataFrom2: {
					mobile: '',
					password: '',
					passwordConfirm: '',
					verify_code:''
				},
				username: "username",
				password: "password",
				passwordIcon: true,
				border: true,
				issend:false,
				islogin:false,
				
				cwmima:'',
				cwcfmima:'',
				cwmima1:'',
				cwcfmima1:'',
				cwyzm:'',
				isregi:false,
				ispassword:false,
				iscfpassword:false,
				yzmnr:'发送验证码'
				// 13212651036
			}
		},
		methods: {
			passShow(){
				
				// this.flag1=!this.flag1
				this.flag=!this.flag
				console.log(this.flag);
				console.log(this.flag1);
			},
			passShow1(){
				
				this.flag1=!this.flag1
				
				console.log(this.flag1);
			},
			mmLength(){
				var pp = /.{6,20}/;
				if(pp.test(this.dataFrom.password)){
					// uni.showToast({icon:'none',title:'密码长度正确'});
					this.ispassword=true
					return
				}else{
					uni.showToast({icon:'none',title:'密码长度为6-20'});
					this.ispassword=false
					return false
				}
			},
			mmLength1(){
				var pp = /.{6,20}/;
				if(pp.test(this.dataFrom2.password)){
					// uni.showToast({icon:'none',title:'密码长度正确'});
					this.ispassword=true
					return
				}else{
					uni.showToast({icon:'none',title:'密码长度为6-20'});
					this.ispassword=false
					return false
				}
			},
			queren(){
				console.log(this.dataFrom2.password);
				console.log(this.dataFrom2.passwordConfirm);
				// if(this.dataFrom2.password!=this.dataFrom2.passwordConfirm){
				// 	uni.showToast({icon:'none',title:'两次输入的密码不相同'});
				// 	this.iscfpassword=false
				// 	return;
				// }else{
				// 	// uni.showToast({icon:'none',title:'密码相同'});
				// 	this.iscfpassword=true
				// 	return
				// }
			},
			queren0(){
				console.log(this.dataFrom.password);
				console.log(this.dataFrom.passwordConfirm);
				// if(this.dataFrom.password!=this.dataFrom.passwordConfirm){
				// 	uni.showToast({icon:'none',title:'两次输入的密码不相同'});
				// 	this.iscfpassword=false
				// 	return;
				// }else{
				// 	// uni.showToast({icon:'none',title:'密码相同'});
				// 	this.iscfpassword=true
				// 	return
				// }
			},
			iponeinput(){
				
				var strTemp = /^1[3|4|5|6|7|8|9][0-9]{9}$/;
				if(strTemp.test(this.dataFrom2.mobile)){
					// uni.showToast({icon:'none',title:'电话格式正确'});
					this.issend=true
					return
				}else{
					uni.showToast({icon:'none',title:'请输入正确的电话'});
					this.issend=false
					return false
				}
			},
			fpNumInput(e) {
				const o = e.target;
				console.log(e.target.value);
				var inputRule =/^[a-zA-Z]+\d{6,}$/gi //修改inputRule 的值
				if(inputRule.test(e.target.value)||e.target.value.length>=6){
					// uni.showToast({icon:'none',title:'格式正确'});
					this.isregi=true
					return;
				}else{
					uni.showToast({icon:'none',title:'只能输入字母和数字哦，且以字母开头,至少6位'});
					this.isregi=false
					return false
				}
				// this.$nextTick(function() {
				//     this.dataFrom.username = o.value.replace(inputRule , '');
				// })
			},
			open(){
				this.openTCdeng()
				
				this.isShow=true
				console.log(this.$store.state.mackNum1);
			},
			close1(){
				this.closeTCdeng()
				this.isShow=false
				if(this.islogin){
					uni.navigateTo({
						url:'/pages/LoginRegistration/accountLogin/accountLogin'
					})
				}
				console.log(this.$store.state.mackNum1);
			},
			...mapMutations(['openTCdeng', 'closeTCdeng','openTC2']),
			yzm(){
				if(this.issend){
					uniRequest.post('base/sms/send',{
						"mobile": this.dataFrom2.mobile, 
						"template": "register" 
					}).then((res)=>{
						console.log(res);
						if(res.data.code=='0000'){
							this.yzmnr=60
							const timer=setInterval(()=>{
								this.yzmnr--
								if(this.yzmnr==0){
									this.yzmnr='发送验证码'
									clearInterval(timer)
								}
							},1500)
						}
							this.msg=res.data.msg
							this.open()
						
						
					}).catch((err)=>{
						console.log(err);
					});
				}else{
					uni.showToast({icon:'none',title:'请输入正确的电话'});
				}
				
			},
			register(){
				if(this.isregi&&this.ispassword&&(this.dataFrom.password==this.dataFrom.passwordConfirm)){
					this.cwmima=this.dataFrom.password
					this.cwcfmima=this.dataFrom.passwordConfirm
					this.cwmima1=''
					this.cwcfmima1=''
					this.dataFrom.passwordConfirm=md5(this.dataFrom.passwordConfirm)
					this.dataFrom.password=md5(this.dataFrom.password)
					uniRequest.post('user/user/register',this.dataFrom ).then((res)=>{
						console.log(res);
						if(res.data.code=='1001'){
							this.msg=res.data.msg
							this.dataFrom.password=this.cwmima,
							this.dataFrom.passwordConfirm=this.cwcfmima
							this.open()
							// alert("注册失败")
						}
						else if(res.data.code=='0000'){
							this.msg="注册成功，请前往登录"
							this.dataFrom.username='',
							this.dataFrom.password='',
							this.dataFrom.passwordConfirm=''
							this.islogin=true
							this.open()
						
						}
					}).catch((err)=>{
						console.log(err);
					});
				}else{
					if(!this.isregi){
						uni.showToast({icon:'none',title:'只能输入字母和数字哦，且以字母开头'});
						return
					}
					if(!this.ispassword){
						uni.showToast({icon:'none',title:'密码长度为6-20'});
						return
					}
					if(!(this.dataFrom.password==this.dataFrom.passwordConfirm)){
						uni.showToast({icon:'none',title:'两次输入的密码不相同'});
						return
					}
				}
				
				
			},
			register1(){
				
				if(this.issend&&this.ispassword&&(this.dataFrom2.password==this.dataFrom2.passwordConfirm)){
					this.cwmima=''
					this.cwcfmima=''
					this.cwmima1=this.dataFrom2.password
					this.cwcfmima1=this.dataFrom2.passwordConfirm
					this.dataFrom2.passwordConfirm=md5(this.dataFrom2.passwordConfirm)
					this.dataFrom2.password=md5(this.dataFrom2.password)
					uniRequest.post('user/user/register',this.dataFrom2 ).then((res)=>{
						console.log(res);
						if(res.data.code=='1001'){
							this.msg=res.data.msg
							this.dataFrom2.password=this.cwmima1,
							this.dataFrom2.passwordConfirm=this.cwcfmima1,
							this.open()
							// alert("注册失败")
						}
						else if(res.data.code=='0000'){
							this.msg="注册成功，请前往登录"
							this.islogin=true
							this.dataFrom2.mobile='',
							this.dataFrom2.password='',
							this.dataFrom2.passwordConfirm='',	
							this.dataFrom2.verify_code=''
							this.open()
						}
					}).catch((err)=>{
						console.log(err);
					});
				}else{
					if(!this.issend){
						uni.showToast({icon:'none',title:'请输入正确的电话'});
						return
					}
					if(!this.ispassword){
						uni.showToast({icon:'none',title:'密码长度为6-20'});
						return
					}
					
					if(!(this.dataFrom2.password==this.dataFrom2.passwordConfirm)){
						uni.showToast({icon:'none',title:'两次输入的密码不相同'});
						return
					}
				}
				
				
			},
			sectionChange(index) {
				this.current = index;
				console.log(this.current);

			},
			change(e) {
				console.log('change', e);
			},
			goNavto() {
				uni.navigateTo({
					url: "/pages/LoginRegistration/register/register"
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	@keyframes tdtc{
		0% {
				transform: scale(0.8); 
				// transform: scale(0.8);  
				opacity: 0.5;  
			}
		// 50% {
		// 	transform: scale(1);  
		// 	// opacity: 0.5;  
		// }
		45%{
			transform: scale(1);
			opacity: 1; 
		}
			// 90% {
			// 	transform: scale(1);
			// 	opacity: 1; 
			// }
			100% {
				transform: scale(1);
				opacity: 1; 
			}
		}
		.TC {
			animation-name:tdtc;
			animation-duration:0.9s;
			transform-origin:350rpx 500rpx;
			animation-timing-function:cubic-bezier(0.01, 1.24, 0.08, 1.36);
			animation-iteration-count:1;
			animation-play-state: running;
		.toptext {
			position: absolute;
			// top: -8%;
			top: 100rpx;
			left: 35%;
			z-index: 999;
			background-color: #fff;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
	
			.text-a {
	
				font-size: 46rpx;
			}
	
			.text-b {
				color: rgb(148, 113, 254);
				font-size: 32rpx;
			}
		}
	
		height: 100%;
		background-color: rgb(255, 255, 255);
	
		// background: linear-gradient(#7a52c0, #d7d7d7) no-repeat;
		.title {
			text-align: center;
			line-height: 100rpx;
			font-size: 60rpx;
			color: rgb(164, 133, 237);
		}
	
		.box {
			z-index: 99;
			background-color: #fff;
	
			.box1 {
	
				// margin-top: 20rpx;
				.box1-a {
					width: 100%;
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					height: 300px;
					align-items: center;
	
					image {
						width: 552rpx;
						height: 319rpx;
					}
				}
			}
	
			.send {
				position: absolute;
				right: 52rpx;
	
				uni-button {
					border-radius: 100rpx;
					height: 92rpx;
					line-height: 92rpx;
					color: #fff;
					width: 144rpx;
					background: rgb(121, 72, 234);
					font-size: 28rpx;
				}
			}
	
			.box2-a {
				width: 94%;
				height: 16px;
				background-color: #fffefe7d;
				box-shadow: 0px 5px 50px #9e9e9e3b;
				border-radius: 0rem 0rem 10px 10px;
				/* opacity: 0.4; */
				position: absolute;
				left: 3%;
				bottom: -16px;
				// /* z-index: -1;
			}
	
			.u-input--border[data-v-fdbb9fe6] {
				border-radius: 100rpx;
				height: 96rpx;
				box-sizing: border-box;
				padding-top: 8rpx !important;
				margin-left: 10rpx;
			}
	
			.username {
				font-size: 18px;
				display: flex;
				align-items: center;
	
				image {
					width: 16px;
					height: 16px;
					margin-right: 4px;
				}
			}
	
			.password {
				font-size: 18px;
				display: flex;
				align-items: center;
				margin-top: 30px;
	
				image {
					width: 16px;
					margin-right: 4px;
					height: 16px;
				}
			}
	
			.sms {
				display: flex;
				justify-content: end;
				color: rgb(164, 133, 237);
				padding: 10% 0;
				padding-bottom: 12%;
				margin-right: 36rpx;
			}
	
			z-index: 99;
			background-color: #fff;
			box-sizing: border-box;
			padding: 48rpx;
			box-shadow: 0px 10rpx 100rpx #9e9e9e80;
			position: absolute;
			background: #fff;
			width: 80%;
			    height: 764rpx;
			border-radius: 2%;
			top: 228rpx;
			left: 10%;
	
			.btnA {
	
				width: 67%;
				margin: 0px auto;
				// margin-top: 40%;
	
				uni-button {
					border-radius: 64rpx;
					background: linear-gradient(to right, #A272FC, #DE62D2);
				}
			}
	
			.btnB {
				width: 60%;
	
				uni-button {
					margin-top: 20rpx;
					border-radius: 32px;
					color: #7a52c0;
				}
	
				margin: 0px auto;
			}
		}
	}
	
	.uni-input-placeholder {
		color: rgb(189, 189, 189);
		font-size: 28rpx;
	}

	::v-deep .u-sticky {
		height: 100rpx;
		// width:	100%;
		// display: flex;
		// justify-content: center;
		// align-items: center;
	}

	::v-deep .u-tabs__wrapper__nav__item {
		padding: 0 32rpx;
		// width: 200rpx;
	}

	uni-page-body {
		height: 100%;
		background-color: rgb(255, 255, 255);

		// background: linear-gradient(#7a52c0, #d7d7d7) no-repeat;
		.title {
			.til {
				display: flex;
				align-items: center;
			}

			display: flex;
			align-items: center;
			justify-content: space-evenly;
			margin-top: 28rpx;
			// margin: 0px auto;
			// text-align: center;
			line-height: 110rpx;
			font-size: 60rpx;
			color: rgb(164, 133, 237);

			image {
				width: 55rpx;
				height: 55rpx;
				margin-right: 10rpx;
			}
		}

		.box {
			.box1 {
				.box1-a {
					form {
						display: flex;
						justify-content: center;
						margin-top: 50rpx;
						    margin-left: 84rpx;
					}
				}
			}

			.box2-a {
				width: 94%;
				height: 16px;
				background-color: #fffefe7d;
				box-shadow: 0px 5px 50px #9e9e9e3b;
				border-radius: 0rem 0rem 10px 10px;
				/* opacity: 0.4; */
				position: absolute;
				left: 3%;
				bottom: -16px;
				// /* z-index: -1;
			}

			.u-input--border[data-v-fdbb9fe6] {
				border-radius: 100rpx;
				height: 96rpx;
				box-sizing: border-box;
				padding-top: 8rpx !important;
				margin-left: 10rpx;
			}

			.username {
				color: rgb(148, 113, 254);
				font-size: 18px;
				display: flex;
				align-items: center;

				image {
					width: 16px;
					height: 16px;
					margin-right: 4px;
				}
			}

			.password {
				color: rgb(148, 113, 254);
				font-size: 18px;
				display: flex;
				align-items: center;
				margin-top: 56rpx;
				position: relative;

				image {
					width: 16px;
					margin-right: 4px;
					height: 16px;
				}
			}

			.sms {
				display: flex;
				justify-content: end;
				color: rgb(121, 72, 234);
				padding: 3% 0;
				padding-bottom: 12%;
				margin-right: 56rpx;
				font-size: 32rpx;
			}

			box-sizing: border-box;
			padding: 48rpx 20rpx;
			// padding-top: 90rpx;
			box-shadow: 0px 5px 50px #9e9e9e80;

			position: absolute;
			background: #fff;
			width: 86%;
			height: 948rpx;
			border-radius: 5%;
			top: 264rpx;
			left: 7%;

			.btnA {

				width: 40%;
				margin: 0px auto;
				margin-top: -5%;

				uni-button {
					border-radius: 64rpx;
					background: linear-gradient(to right, #A272FC, #DE62D2);
				}
			}

			.btnB {
				width: 53%;

				uni-button {
					margin-top: 20rpx;
					border-radius: 32px;
					color: #7a52c0;
				}

				margin: 0px auto;
			}
		}
	}
</style>
